package com.xuecheng.framework.domain.search;


import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;


import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

/**
 * 这个类是用来给ElasticSearch存储视频信息索引的搜索的类
 */
@Data
@Document(indexName = "xc_course_media",type = "_doc")
public class TeachplanMediaSearch implements Serializable {
    @Id
    private String id;

    private String teachplanid;

    private String mediaid;

    private String mediafileoriginalname;

    private String mediaurl;

    private String courseid;

    private Date timestamp;//时间戳

}

